 <ul data-role="listview" data-inset="true">
      <li>
        <a href="#"><img src="<?=base_url();?>temp/images/account.png"/>
            <h2><?php echo $account->username ?></h2>            
            <p>
                Total: <?php echo $account->total ?> Point<br />
                Current:<?php echo $account->curent ?> Point<br />
                Pengding:<?php echo $account->pending ?> Point<br />
            </p>
        </a>
      </li>      
    </ul>
    <a href="#popupchangepass" data-rel="popup" class="ui-shadow ui-btn ui-corner-all ui-btn-icon-left ui-icon-info">Change Password
    <?php
            if($this->session->userdata('chagepass')){
                if($this->session->userdata('ok')){
                    echo '<i style="color:blue;font-size:10px;">';
                }else{
                    echo '<i style="color:red;font-size:10px;">';
                }
                echo 
                $this->session->userdata('chagepass')
                .'
                </i>
                ';
                $this->session->unset_userdata('chagepass');
                $this->session->unset_userdata('ok');
            }
            
            ?>
    
    </a>
    <a href="#popupDialog" data-rel="popup" class="ui-shadow ui-btn ui-corner-all ui-btn-icon-left ui-icon-mail">Messenger</a>
    <a href="<?php echo base_url('mobile/history')?>" class="ui-shadow ui-btn ui-corner-all ui-btn-icon-left ui-icon-heart">History</a>
    <a href="<?php echo base_url('mobile/logout')?>" class="ui-shadow ui-btn ui-corner-all ui-btn-icon-left ui-icon-power">Logout</a>




 <!--repont botton  
  <div class="ui-grid-b ui-responsive">
    <div class="ui-block-a"><a href="#" class="ui-shadow ui-btn ui-corner-all ui-btn-icon-left ui-icon-info">Change Password</a></div>
    <div class="ui-block-c"><a href="#" class="ui-shadow ui-btn ui-corner-all ui-btn-icon-left ui-icon-mail">Messenger</a></div>
    <div class="ui-block-b"><a href="#" class="ui-shadow ui-btn ui-corner-all ui-btn-icon-left ui-icon-heart">History</a></div>
    <div class="ui-block-a"><a href="#" class="ui-shadow ui-btn ui-corner-all ui-btn-icon-left ui-icon-power">Logout</a></div>
</div>
 endrepont botton--> 
 
 <!--popup mensesenger-->
<div data-role="popup" id="popupDialog" data-overlay-theme="b" data-theme="d" data-dismissible="false" style="max-width:400px;">
    
    <div data-role="header" data-theme="c">
        <a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-a ui-icon-delete ui-btn-icon-notext ui-btn-right">Close</a>
        
        <h1>Messenger</h1>
    </div>
    
    <div role="main" class="ui-content">
    
        <?php 
            $tb = $this->Home_model->get_one('thongbao','');
            if(!empty($tb)) echo $tb->content;
        ?>
    </div>
</div>
<!--end menseen-->

<!-- pop up change pass-->
<div data-role="popup" id="popupchangepass" data-overlay-theme="b" data-theme="a" class="ui-corner-all">
    <form method="POST" action="" data-ajax="false">
        <div style="padding:10px 20px;">
            <h3>Change password</h3>
            
            <label for="un" class="ui-hidden-accessible">Current pass:</label>
            <input name="curentpass" id="un" value="" placeholder="Current pass" data-theme="a" type="password">
            <label for="pw" class="ui-hidden-accessible">New Password:</label>
            <input name="newpass" id="pw" value="" placeholder="New Password" data-theme="a" type="password">
            <button type="submit" data-theme="d" class="ui-btn ui-corner-all ui-shadow ui-btn-b ui-btn-icon-left ui-icon-check">Submit</button>
        </div>
    </form>
</div>
<!--end popup change pass-->
